package com.training.java.redbox;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class OrderSummaryServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    
    public OrderSummaryServlet() {
        super();
    }

	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.getSession().getAttribute("order");
		request.getSession().getAttribute("MoviesCart");
		request.getSession().getAttribute("Customer");
		RequestDispatcher rd = request.getRequestDispatcher("/WEB-INF/OrderSummary.jsp");
		rd.forward(request, response);
		
		
	}

	
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		
		
	}

}
